<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="${ctx}/UiMaker/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<form action="${ctx}/message/add" method="post">
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="#">首页</a></li>
			<li><a href="#">系统管理</a></li>
			<li><a href="#">角色管理</a></li>
		</ul>
	</div>
	<div class="formbody">

		<div class="formtitle">
			<span>基本信息</span>
		</div>

		<ul class="forminfo">
			<li>
				<input id="id" name="id" type="hidden" value="${model.id}" />
				<label>文章标题</label>
				<input name="title" type="text" class="dfinput" value="${model.title}"/><i>标题不能超过30个字符</i>
			</li>
			
			<li>
				<label>文章内容</label> 
				<textarea name="content" cols="" rows="" class="textinput">${model.content}</textarea>
			</li>
			<li>
				<label>&nbsp;</label>
				<input name="submit" type="submit" class="btn" value="确认保存" />
				<input name="btnSave" type="button" class="btn" value="取消" onclick="window.history.back(-1)" />					
			</li>
		</ul>
	</div>
	</form>
</body>
</html>